<?php

class Application_Form_Page extends Zend_Form {
  
  function init(){
    $this->setMethod('post');
    
    $this->addElement('text', 'uri', array(
            'label'      => 'Page uri',
            'required'   => true,
            'filters'    => array('StringTrim'),
        ));
 
        // Add the submit button
        $this->addElement('submit', 'submit', array(
            'ignore'   => true,
            'label'    => 'Sign Guestbook',
        ));
 
        // And finally add some CSRF protection
        $this->addElement('hash', 'csrf', array(
            'ignore' => true,
        ));
  }
  
}

?>
